﻿// JavaScript Document
function toggle(targetId, showID, hideID) {
    if (document.getElementById) {
        target = document.getElementById(targetId);
        if (target.style.display == "block") {
            target.style.display = "none";
            //rem these 2 lines if you don't wish to swap the div that the link sits in from show to remove
            document.getElementById(hideID).style.display = "none";
            document.getElementById(showID).style.display = "block";
        } else {
            target.style.display = "block";
            // same goes here
            document.getElementById(hideID).style.display = "block";
            document.getElementById(showID).style.display = "none";
        }
    }
} 